using System;
using System.Collections.Generic;
using SheLife.Domain.Common;

namespace SheLife.Domain.Entities
{
    /// <summary>
    /// 生理周期记录实体
    /// </summary>
    public class MenstrualCycle : BaseEntity
    {
        public Guid UserId { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int CycleLength { get; set; } // 周期长度
        public int PeriodLength { get; set; } // 经期长度
        public string FlowLevel { get; set; } = string.Empty; // 经血量：轻、中、重
        public string Symptoms { get; set; } = string.Empty; // 症状描述
        public string Mood { get; set; } = string.Empty; // 情绪状态
        public DateTime? OvulationDate { get; set; } // 排卵日
        public DateTime? NextPredictedStartDate { get; set; } // 预测下次开始日期
        public bool IsPregnant { get; set; } // 是否怀孕
        public string Notes { get; set; } = string.Empty; // 备注
        public string Status { get; set; } = string.Empty; // 状态

        // 导航属性
        public virtual User? User { get; set; }
    }
}